package breeze.lepei.der.view.barchartview.model;

import java.util.List;

public class BarChartViewModel {

    private String code;

    private String msg;

    private Obj obj;

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setObj(Obj obj) {
        this.obj = obj;
    }

    public Obj getObj() {
        return obj;
    }

    public static class Obj {

        private int state;

        private String examCode;

        private String examName;

        private double stuScore;

        private List<Data> data;

        public void setState(int state) {
            this.state = state;
        }

        public int getState() {
            return state;
        }

        public void setExamCode(String examCode) {
            this.examCode = examCode;
        }

        public String getExamCode() {
            return examCode;
        }

        public void setExamName(String examName) {
            this.examName = examName;
        }

        public String getExamName() {
            return examName;
        }

        public void setStuScore(double stuScore) {
            this.stuScore = stuScore;
        }

        public double getStuScore() {
            return stuScore;
        }

        public void setData(List<Data> data) {
            this.data = data;
        }

        public List<Data> getData() {
            return data;
        }

        public static class Data {

            private int name;

            private int count;

            public void setName(int name) {
                this.name = name;
            }

            public int getName() {
                return name;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getCount() {
                return count;
            }

        }

    }

}
